< previous page page_538 next page >

Page 538
12181-0538a.gif
Figure 19.5.
Advanced optimization options for a
native-code compile.
Table 19.2 describes some of the more common compiler options shown in Figures 19.4 and 19.5. If you're unsure of which options to change, the safest thing to do is to use the default settings.
TABLE 19.2. NATIVE CODE COMPILER OPTIONS.
OptionDescription
Optimize for Fast CodeMaximizes the speed of compiled executable files by telling the compiler to favor speed over size.
Optimize for Small CodeMinimizes the size of compiled executable files by telling the compiler to favor size over speed.
No OptimizationTurns off all optimizations so that the compiler generates code that's significantly slower and larger than if optimization for fast or small code is selected.
Favor Pentium ProOptimizes code to favor the Pentium Pro (P6) processor. Code generated with this option still runs on earlier processors, but less efficiently. Use this option only if all or most of the machines your program will run on are Pentium Pros.
Remove Array Bounds ChecksTurns off error checking for valid array indexes and the correct number of dimensions of the array.
Remove Integer Overflow ChecksTurns off error checking to ensure that numeric values assigned to integer variables are within the correct range for the data types.

 
< previous page page_538 next page >

If you like this book, buy it!